package manager
{
	import manager.CursorManager;
	import manager.KeyboardManager;
	
	import ui.scene.MainScene;
	
	public class SceneManager
	{
		public var mainScene:MainScene;
		public var cursorManager:CursorManager;
		public var keyboardManager:KeyboardManager;
		
		private static var instance:SceneManager;
		public static function getInstance():SceneManager{
			if(instance == null){
				instance = new SceneManager();
			}
			return instance;
		}
		
		public function SceneManager()
		{
			
		}
		
		public function preInit():void{
			mainScene = new MainScene();
			cursorManager = new CursorManager();
			keyboardManager = new KeyboardManager();//键盘初始
		}
	}
}